package com.amc.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class OrderView implements Serializable{
	private static final long serialVersionUID = -3778256319882438243L;
	
	private String orderId;
	private String merchantId;
	private String merchantName;
	private String customerId;
	private List<FoodView> orderFoods;
	private String addressId;
	private String addressName;
	private String addressContactTel;
	private String addressContactPerson;
	private int orderStatus;
	private Date createTime;
	
	private Date confirmTime;
	private Date finishTime;
	private String merchant_headpic;
	public OrderView(String orderId, String merchantId, String merchantName,
			String customerId, List<FoodView> orderFoods, String addressId,
			String addressName, String addressContactTel,
			String addressContactPerson, int orderStatus, Date createTime,
			Date confirmTime, Date finishTime, String merchant_headpic) {
		this.orderId = orderId;
		this.merchantId = merchantId;
		this.merchantName = merchantName;
		this.customerId = customerId;
		this.orderFoods = orderFoods;
		this.addressId = addressId;
		this.addressName = addressName;
		this.addressContactTel = addressContactTel;
		this.addressContactPerson = addressContactPerson;
		this.orderStatus = orderStatus;
		this.createTime = createTime;
		this.confirmTime = confirmTime;
		this.finishTime = finishTime;
		this.merchant_headpic = merchant_headpic;
	}
	public OrderView() {
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public String getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}
	public String getMerchantName() {
		return merchantName;
	}
	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}
	public String getCustomerId() {
		return customerId;
	}
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	public List<FoodView> getOrderFoods() {
		return orderFoods;
	}
	public void setOrderFoods(List<FoodView> orderFoods) {
		this.orderFoods = orderFoods;
	}
	public String getAddressId() {
		return addressId;
	}
	public void setAddressId(String addressId) {
		this.addressId = addressId;
	}
	public String getAddressName() {
		return addressName;
	}
	public void setAddressName(String addressName) {
		this.addressName = addressName;
	}
	public String getAddressContactTel() {
		return addressContactTel;
	}
	public void setAddressContactTel(String addressContactTel) {
		this.addressContactTel = addressContactTel;
	}
	public String getAddressContactPerson() {
		return addressContactPerson;
	}
	public void setAddressContactPerson(String addressContactPerson) {
		this.addressContactPerson = addressContactPerson;
	}
	public int getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getConfirmTime() {
		return confirmTime;
	}
	public void setConfirmTime(Date confirmTime) {
		this.confirmTime = confirmTime;
	}
	public Date getFinishTime() {
		return finishTime;
	}
	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
	public String getMerchant_headpic() {
		return merchant_headpic;
	}
	public void setMerchant_headpic(String merchant_headpic) {
		this.merchant_headpic = merchant_headpic;
	}
	@Override
	public String toString() {
		return "OrderView [orderId=" + orderId + ", merchantId=" + merchantId
				+ ", merchantName=" + merchantName + ", customerId="
				+ customerId + ", orderFoods=" + orderFoods + ", addressId="
				+ addressId + ", addressName=" + addressName
				+ ", addressContactTel=" + addressContactTel
				+ ", addressContactPerson=" + addressContactPerson
				+ ", orderStatus=" + orderStatus + ", createTime=" + createTime
				+ ", confirmTime=" + confirmTime + ", finishTime=" + finishTime
				+ ", merchant_headpic=" + merchant_headpic + "]";
	}
	
	
	
	
	

}
